package com.o2opays.wechat.service;

import com.o2opays.wechat.pojo.HttpResult;
import com.o2opays.wechat.pojo.MerchatUserInfo;

/**
 * Created by tugou on 2017/12/3.
 */
public interface LoginService {

    /**
     * 根据openId登录商户微信公众号
     * @param openId
     * @return
     */
    HttpResult login(String openId);
    /**
     * 根据用户名和密码登录商户微信公众号
     * @param openId
     * @return
     */
    HttpResult login(String openId,String pwd,String userName);
    /**
     * 公众号登出
     * @param openId
     * @return
     */
    HttpResult loginOut(String openId);
}
